import { request } from '@ruifox-cms/utils'

// 获取权限列表
export function getAuthList(params) {
    return request({
        url: '/station/api/auth/selectAll',
        method: 'get',
        params
    })
}
// 添加权限
export function insertAuth(data) {
    return request({
        url: '/station/api/auth/insert',
        method: 'post',
        data
    })
}
// 修改权限
export function updateAuth(data) {
    return request({
        url: '/station/api/auth/update',
        method: 'post',
        data
    })
}
// 删除权限
export function deleteAuth(data) {
    return request({
        url: '/station/api/auth/delete',
        method: 'post',
        data
    })
}